package com.sky.service;

import com.sky.dto.OrdersPageQueryDTO;
import com.sky.dto.OrdersPaymentDTO;
import com.sky.dto.OrdersRejectionDTO;
import com.sky.dto.OrdersSubmitDTO;
import com.sky.entity.Orders;
import com.sky.result.PageResult;
import com.sky.vo.OrderPaymentVO;
import com.sky.vo.OrderStatisticsVO;
import com.sky.vo.OrderSubmitVO;
import com.sky.vo.OrderVO;

public interface OrderService {
    OrderSubmitVO submit(OrdersSubmitDTO ordersSubmitDTO);

    OrderPaymentVO payment(OrdersPaymentDTO ordersPaymentDTO);

    OrderVO getById(Long id);

    PageResult historyOrders(OrdersPageQueryDTO ordersPageQueryDTO);

    void repetition(Long id);

    void cancel(Long id);

    void paySuccess(String outTradeNo);


    void reminder(Long id);

    PageResult search(OrdersPageQueryDTO ordersPageQueryDTO);

    void confirm(Orders orders);

    void update(Orders orders);

    void rejection(OrdersRejectionDTO ordersRejectionDTO);

    void complete(Long id);

    OrderStatisticsVO statistics();


}
